package one.stand.request.essay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 添加访客数据
 * </p>
 *
 * @author luoyang
 * @since 2020-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EssayVisitorsData对象", description="添加访客数据")
public class EssayVisitorsDataForm extends BaseRequest implements Serializable {

    private static final long serialVersionUID=1L;
//    @ApiModelProperty(value = "文章id",required = true)
//    @NotNull(message = "文章不能为空")
//    private Long dynamicId;
//
//    @ApiModelProperty(value = "用户id",required = true)
//    @NotNull(message = "用户不能为空")
    private Long userId;
//
//    @ApiModelProperty(value = "业务员ID",required = true)
//    @NotNull(message = "业务员不能为空")
//    private Integer cardId;
//
//    @ApiModelProperty(value = "来源:1海报 2名片 3 文章",required = true)
//    @NotNull(message = "来源不能为空")
//    private Integer source;
//
//    @ApiModelProperty(value = "企业ID")
//    private Long companyId;
//
//    @ApiModelProperty(value = "手机号")
//    private String phone;
//
//    @ApiModelProperty(value = "操作类型:1总次数 总时长 2 转发次数")
//    private Integer type;

    @ApiModelProperty(value = "总时长")
    private Integer sumTimes;

    @ApiModelProperty(value = "openid",required = true)
    @NotNull(message = "openid")
    private String openId;

    @ApiModelProperty(value = "文章",required = true)
    @NotNull(message = "文章id不能为空")
    private Long dynamicId;

}
